package cn.jinjie.day05.test1;

import java.util.Scanner;

public class Test02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //arraycopy(数据源数组, 起始索引, 目的地数组, 起始索引, 拷贝个数)	数组copy
        int[] arr1 = {2, 3, 4, 5, 8, 5, 7};
        int[] arr2 = new int[10];
        System.arraycopy(arr1, 4, arr2, 2, 3);
        for (int i = 0; i < arr2.length; i++) {
            System.out.print(arr2[i] + " ");
        }

        int num = sc.nextInt();
        if (num == 1) {
            System.exit(0);
        }
        System.out.println(System.currentTimeMillis());


    }
}
